//
//  GTSaveTool.m
//  GiftTalk
//
//  Created by Wan on 16/3/25.
//  Copyright © 2016年 Wan. All rights reserved.
//  归档 & 解档 帮助类

#import "GTSaveTool.h"

@implementation GTSaveTool

/** 归档 */
+ (void)setObject:(id)obj forKey:(NSString *)key
{
    [[NSUserDefaults standardUserDefaults] setObject:obj forKey:key];
}

/** 解档 */
+ (id)objectForKey:(NSString *)key
{
    return [[NSUserDefaults standardUserDefaults] objectForKey:key];
}

@end
